﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;

namespace WFL.Windows.Forms.Theme
{
    public class SkinItem
    {
        private string _id;
        public string Id
        {
            get { return _id; }
        }

        private string _name;
        public string Name
        {
            get { return _name; }
        }

        private Image _preview;
        public Image Preview
        {
            get { return _preview; }
            internal set { _preview = value; }
        }

        public SkinItem(string id, string name, Image preview)
        {
            if (string.IsNullOrEmpty(id))
            {
                throw new ArgumentNullException("id");
            }
            _id = id;
            _name = name;
            _preview = preview;
        }

        public SkinItem(string id, string name)
            : this(id, name, null)
        {

        }


    }
}
